//
//  AddrChooserViewModel.h
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/10/23.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import "SUTableViewModel2.h"

#import "ProvincesListData.h"

NS_ASSUME_NONNULL_BEGIN

@interface AddrChooserViewModel : SUTableViewModel2

@property (nonatomic, strong) ProvinceListData* locationCityData;
@property (nonatomic, strong) NSArray* currentProvinceDatas;
@property (nonatomic, strong) NSArray* searchProvinceDatas;

@property (nonatomic, readwrite, strong) RACCommand* relocationCmd;
@property (nonatomic, readwrite, strong) RACCommand* chooseLocationCmd;

@property (nonatomic, readwrite, strong) VoidBlock_id chooseBlock;
@property (nonatomic, readwrite, assign) BOOL isShowCountryChoose;

- (BOOL)try2Pop;
- (void)searchCityByName:(NSString*)cityName;

@end

NS_ASSUME_NONNULL_END
